﻿using System;

namespace TrinityEngine
{
    public abstract class PhysicsBody : Component
    {
        protected abstract void FixedUpdate();

        public void CallFixedUpdate()
        {
            if (!enabled)
            {
                return;
            }

            FixedUpdate();
        }

    }
}
